package health

import (
	"fiberx/internal/router"

	"github.com/gofiber/fiber/v3"
)

type users struct{}

func (b *users) RouteRegister(rg fiber.Router) {
	health := rg.Group("/health") // 子路由前缀
	{
		health.Get("", NewV1().HealthCheck)
	}
}

func init() {
	router.RegisterRoute(&users{})
}
